xend: Fix python syntax error
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 23 Jun 2009 16:27:01 +0000 (17:27 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 23 Jun 2009 16:27:01 +0000 (17:27 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
tools/python/xen/xm/create.py

index 93e019038eb7e06b7e9eda5b673df47e0e4999c6..9a0ae3e306f70e22c267240eaa9d78298553e9f9 100644 (file)
@@ -660,7 +660,7 @@ def configure_image(vals):
             # This allows guest migration to a Dom0 having different
             # xen install pathes.
             config_image.append([ 'kernel', vals.kernel ])
-        elif os.path.exists(os.path.abspath(vals.kernel))
+        elif os.path.exists(os.path.abspath(vals.kernel)):
             # Keep old behaviour, if path is valid.
             config_image.append([ 'kernel', os.path.abspath(vals.kernel) ])
         else: